package com.hujiheng.paike.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassInfo {
    private int classId;
    @NotBlank(message = "名称不能为空")
    private String className;
    @NotBlank(message = "地点不能为空")
    private String classLocal;
    private int grade;
    private int teacherId;
    private int studentNumber;
}
